package com.wanmait.gohome.mapper;

import com.wanmait.gohome.pojo.Clue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClueMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Clue record);

    int insertSelective(Clue record);

    Clue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Clue record);

    int updateByPrimaryKey(Clue record);

    List<Clue> findAlls(@Param("id") int id); //查询一级评论

    void insertClue(Clue clue);
}